package com.hc.service;

import com.hc.bean.PageBean;
import com.hc.domain.Brand;
import com.hc.domain.query.BrandQuery;
import com.hc.domain.vo.BrandVO;

/**
 * @ClassName:{NAME}
 * @Author:鹿建文
 * @Date:2022/5/16
 * @Describe:
 */
public interface BrandService {


    int deleteByPrimaryKey(Integer id);

    int insert(Brand record);

    int insertSelective(Brand record);

    Brand selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Brand record);

    int updateByPrimaryKey(Brand record);

    /**
     * 分页查询
     * @param brandQuery
     * @param pageNum
     * @param pageSize
     * @return
     */
    PageBean<BrandVO> getPage(BrandQuery brandQuery, Integer pageNum, Integer pageSize);
}

